<script setup lang="ts">
import { RouterView } from 'vue-router'
</script>

<template>
  <router-view v-slot="{ Component }">
    <Transition name="page_animate">
        <component :is="Component" />
    </Transition>
  </router-view>
</template>

<style scoped>
.page_animate-enter-active {
  animation: zoomInUp 0.5s;
}

.page_animate-leave-active {
  animation: zoomOutDown 0.5s;
}
</style>
